|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Quantity | |
| observations | The observations package represents the domain layer. |
| Uses of Quantity in observations |
| Subclasses of Quantity in observations | |
class |
NullQuantity
NullQuantity Special quantity without amount and unit. |
| Methods in observations that return Quantity | |
Quantity |
Measurement.amount()
Gives the measured amount. |
Quantity |
Patient.getLatestAmountOf(PhenomenonType value)
Use this to search the latest amount observed and saved of a particular type. |
| Methods in observations with parameters of type Quantity | |
Phenomenon |
PhenomenonType.getPhenomenonIncluding(Quantity quantity)
Searches the phenomenon which includes a particular quantity. |
boolean |
PhenomenonType.validRangeIncludes(Quantity quantity)
Tests whether the quantity is included in the types over all range. |
boolean |
Quantity.equals(Quantity arg)
Tests if this quantity equals the argument (this == arg). |
boolean |
Quantity.isGreaterThan(Quantity arg)
Tests if this quantity is greater than argument (this > arg). |
boolean |
Quantity.isGreaterThanOrEqualTo(Quantity arg)
Tests if this quantity is greater than or equal to argument (this >= arg). |
boolean |
Quantity.isLessThan(Quantity arg)
Tests if this quantity is less than the argument (this < arg). |
boolean |
Quantity.isLessThanOrEqualTo(Quantity arg)
Tests if this quantity is less than or equal to argument (this <= arg). |
boolean |
QuantityRange.includes(Quantity value)
Tests whether the quantity is in boundaries of the range. |
Phenomenon |
Measurement.calculatePhenomenonFor(Quantity arg)
Gives a valuation in quality for a given amount. |
boolean |
Phenomenon.includes(Quantity arg)
Tests whether the quantity is included in the phenomenon's range. |
| Constructors in observations with parameters of type Quantity | |
QuantityRange(Quantity start,
boolean isStartInclusive,
Quantity end,
boolean isEndInclusive)
Basic constructor constructs a QuantityRange object. |
|
QuantityRange(Quantity start,
Quantity end)
Constructs a QuantityRange object with upper and lower bound inclusive. |
|
Measurement(Quantity amount,
PhenomenonType phenomenonType,
Patient patient,
java.util.Date whenObserved)
Constructs a Measurement object. |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||